﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Service;
using PersonalHealth.Data.Model;

namespace PersonalHealth.Data.IService
{
    public interface IUserService : IService<User>
    {
        void Register(User user);

        //User Login(string name, string password);

        User Login(string serviceNo, string password);

        User LoginWithIcCard(string icCardNo);

        User LoginWithIdCard(string idCardNo);

        IList<Threshold> GetThreshold(string measure, int userId);
    }
}
